#include <GL/glut.h>
#include "function.h"

void display(){
	Point a(2,2,0);
	Point b(-2,2,0);
	Point c(-2,-2,0);
	Point d(2,-2,0);

	gluLookAt(0,0,10,0,0,0,1,0,0);
	glMatrixMode(GL_MODELVIEW);
	glPushMatrix();
		glLoadIdentity();
		peanoD(n,a,b,c,d);
	glPopMatrix();
	glutSwapBuffers();
}
